package com.qining618.cms.ucenter.controller.admin.request;

import lombok.Data;

import javax.validation.constraints.Future;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 冻结请求参数
 * @author flt
 * @date 2019-09-21
 */
@Data
public class FreezeRequest implements Serializable {

    private static final long serialVersionUID = 2824705123003954470L;

    @Future(message = "冻结到期时间不能小于当前时间")
    private Date dueTime;

    @NotBlank(message = "冻结原因不能为空")
    private String reason;
}
